#include <iostream>

int main( int argc, char *argv[] )
{
	volatile double l = 0.35;
	volatile double r = 0.76;

	// use gcc -ffloat-store here to avoid the problem.
	int f1 = (int)( l * 100 + r * 100 );
	double t =  l * 100 + r * 100;
	int f2 = ( int )t;

	std::cout << "f1: " << f1 << std::endl << "f2: " << f2 << std::endl;
}
